
#include"Heap.h"

int main()
{
	HP hp;
	HPInit(&hp);
	int a[] = { 50,100,70,65,60,32 };
	for (int i = 0; i < sizeof(a) / sizeof(a[0]); i++)
	{
		HPPush(&hp, a[i]);
	}
	while (!HPEmpty(&hp))
	{
		printf("%d ", HPTop(&hp));
		HPPop(&hp);
	}
	HPDestroy(&hp);
	return 0;
}